﻿

using System.Collections;
using DataAccess;
using Model;

namespace Service
{
 public class ReferenceDataServiceActionTaken : ServiceBase
    {
      ReferenceDataAccess mgr;
      public ReferenceDataServiceActionTaken()
        {
            mgr = new ReferenceDataAccess();
        }
      public IList GetTaskStatus()
      {
          return mgr.GetByOrder(typeof(TaskStatus), TaskStatus.CONST_TASK_STATUS_Label);
      }
      public void SaveTaskStatus(TaskStatus taskStatus)
      {
          mgr.Save(taskStatus);
      }
     public void SaveActionTaken(Reparation reparation)
     {

         mgr.Save(reparation);
     
     }
     
 }
}
